const Api = require('./api.js');
const request = require('./request.js');

 export const  buryReport =(data) => {
	console.log(data, 'data')
	console.log(Api.mount_report, 'Api.mount_report')
	return request.http({
		url:Api.mount_report,
		header: {
			// 'content-type': 'application/x-www-form-urlencoded',
			'token':uni.getStorageSync('token')
		},
		data: {
			mount_log_hid:  data.mount_log_hid,
			cate:  data.cate,
			page_url:  data.page_url,
			page_args: data.page_args,
			log_detail_hid: data.log_detail_hid
		},
		type: 'POST',
	}).then(res => {
	
		return res.data.log_detail_hid
	}).catch(err => {
		console.log(err, '错误11')
	})
}
